<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>接口测试</title>
	</head>

	<body>

		<div id="swagger-ui"></div>
		<script src="js/load.js"></script>
		<script>
			var swagger_ui_version = '3.4.5';
			var prefix = 'https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/' + swagger_ui_version + '/swagger-ui';

			loadCSS(prefix + '.css');
			loadJS(prefix + '-bundle.js');
			loadJS(prefix + '-standalone-preset.js');

			onload = function() {
				SwaggerUIBundle({
					url: "v2/api-docs",
					dom_id: '#swagger-ui',
					deepLinking: true,
					presets: [
						SwaggerUIBundle.presets.apis,
						SwaggerUIStandalonePreset
					],
					plugins: [
						SwaggerUIBundle.plugins.DownloadUrl
					],
					layout: "StandaloneLayout"
				});
			}
		</script>
	</body>

</html>